<%@ Page Language="C#" MasterPageFile="~/Common/WebSiteMaster.master" AutoEventWireup="true" 
    CodeBehind="E_EventContent.aspx.cs" Inherits="ScottCateAjax2008.Lesson05.E_EventContent" 
    Title="Manipulate Update Panel Content" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <asp:ScriptManager id="ScriptManager1"  runat="server" ScriptMode="Debug">
        <Scripts>
            <asp:ScriptReference Path="E_EventContent.aspx.js" />
        </Scripts>
    </asp:ScriptManager>
    
    <asp:UpdatePanel id="UpdatePanel1" UpdateMode="conditional" runat="server">
        <contenttemplate>
            <asp:PlaceHolder ID="JsonPlaceHolder" runat="server" />            
        </contenttemplate>
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="Button1" />
        </Triggers>
    </asp:UpdatePanel>

    <hr />
    
    <asp:Button ID="Button1" Text="Convert JSON To HTML" runat="server" /><br /><br />

    <a href="/Utilities/ShowServerCode.aspx?res=/Lesson01/B_JSONResponse.htm">Show B_JSONResponse.htm Source</a>

</asp:Content>

